package com.shz.appletsapi.model.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.shz.appletsapi.common.util.DateUtils;

import lombok.Data;


@Data
@Entity
@Table(name = "mine_channel")
public class MineChannel implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5113624819655419350L;

	/**
	 * 
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	@Column(name = "name")
	private String name;
	@Column(name = "create_time")
	@DateTimeFormat(pattern = DateUtils.PATTERN_DATETIME)
	private Date create_time;

}
